#!/bin/bash

#DATE_STR=`date +"%Y%m%d"`
DATE_STR=$1

for COUNTRY in `ls /metadata/Redbee/lineups-staging/`
#for COUNTRY in 'at'
do
  bash get_schedule_channels_by_headend.sh target-mso-${COUNTRY}.txt $DATE_STR > report_summary_${COUNTRY}_${DATE_STR}.txt &
  sleep 1
done
